import client from "./internal/httpClient";

export function careateDeviceType(data: any) {
    return client.post("/backend/v1/devicename/create", data);
}

export function getDeviceList(data: any) {
    return client.get("/backend/v1/devicename/getList", data);
}

export function getAllDeviceType(){
    return client.get("/backend/v1/devicename/getAllDeviceType", {});
}

export function getDeviceTypeById(data: any) {
    return client.get("/backend/v1/devicename/getDeviceTypeById/" + data, {});
}

export function updateDeviceTypeById(data: any) {
    return client.post("/backend/v1/devicename/updateDeviceTypeById", data);
}

//delInfoById
export function delInfoById(data: any) {
    return client.get("/backend/v1/devicename/delInfoById/" + data, {});
}



